package my_leetcode;

import utils.TreeNode;

import java.util.*;
import java.util.stream.Collectors;


/**
 * 解题类
 */
class Solution {
    public int game(int[] guess, int[] answer) {
        int count = 0;
        for (int i = 0 ; i< guess.length; i++){
            if(guess[i] == answer[i]){
                count ++;
            }
        }
        return count;
    }
}